home *** CD-ROM | disk | FTP | other *** search
-
-
-
- PPPPMMMMDDDDAAAAEEEESSSSPPPPPPPPIIIINNNNGGGG((((1111)))) PPPPMMMMDDDDAAAAEEEESSSSPPPPPPPPIIIINNNNGGGG((((1111))))
-
-
-
- NNNNAAAAMMMMEEEE
- ppppmmmmddddaaaaeeeessssppppppppiiiinnnngggg - generic probe performance metrics domain agent
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- ////vvvvaaaarrrr////ppppccccpppp////ppppmmmmddddaaaassss////eeeessssppppppppiiiinnnngggg////ppppmmmmddddaaaaeeeessssppppppppiiiinnnngggg [----CCCC] [----dddd _d_o_m_a_i_n] [----llll _l_o_g_f_i_l_e] [----IIII
- _i_n_t_e_r_v_a_l] [----tttt _t_i_m_e_o_u_t] _c_o_n_f_i_g_f_i_l_e
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- ppppmmmmddddaaaaeeeessssppppppppiiiinnnngggg is a Performance Metrics Domain Agent (PMDA) which exports
- quality of service and response time measurements for arbitrary commands
- as might be run from a shell such as sssshhhh(1).
-
- These measurements are intended to be used to quantify service quality
- and service availability for those services that are either mission
- critical or act as early indicators of adverse system performance. For
- these reasons, ppppmmmmddddaaaaeeeessssppppppppiiiinnnngggg is used to provide service probe capabilities
- for the System Group Management (SGM) component of the Embedded Support
- Partner (ESP) tools.
-
- The sample configuration can be used to monitor various services, both
- locally and remotely, such as ICMP response (using ppppiiiinnnngggg(1)), DNS lookup
- via nnnnssssllllooooooookkkkuuuupppp(1), bind/portmapper service using rrrrppppccccbbbbiiiinnnndddd(1), SMTP by
- connecting to telnet port 25 and sending an ``expn root'' request, NNTP
- by connecting to telnet port 119 and running a ``listgroup'' command, and
- numerous others.
-
- It is expected that other commands would follow the examples in the
- sample configuration files (see the ``FILES'' section below).
-
- A brief description of the ppppmmmmddddaaaaeeeessssppppppppiiiinnnngggg command line options follows:
-
- ----CCCC Parse _c_o_n_f_i_g_f_i_l_e, reporting any errors and exiting with non-zero
- status if the file contains syntactical errors.
-
- ----dddd It is absolutely crucial that the performance metrics _d_o_m_a_i_n number
- specified here is unique and consistent. That is, _d_o_m_a_i_n should be
- different for every PMDA on the one host, and the same _d_o_m_a_i_n number
- should be used for the same PMDA on all hosts.
-
- ----llll By default a log file named _e_s_p_p_i_n_g._l_o_g is written in the directory
- where ppppmmmmddddaaaaeeeessssppppppppiiiinnnngggg is started, i.e. since ppppmmmmccccdddd(1) makes
- /_v_a_r/_a_d_m/_p_c_p_l_o_g (or $$$$PPPPCCCCPPPP____LLLLOOOOGGGGDDDDIIIIRRRR if set in the environment) its
- current directory, the default logfile for ppppmmmmddddaaaaeeeessssppppppppiiiinnnngggg is
- ${_P_C_P__L_O_G_D_I_R-/_v_a_r/_a_d_m/_p_c_p_l_o_g}/_e_s_p_p_i_n_g._l_o_g. If the log file cannot
- be created or is not writable, output is written to standard error
- instead.
-
- The ----llll option specifies an alternative name for the log file.
-
- ----IIII Amount of time (in seconds) between subsequent executions of the
- list of commands provided via the configuration file _c_o_n_f_i_g_f_i_l_e.
- The default is 2 minutes.
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- PPPPMMMMDDDDAAAAEEEESSSSPPPPPPPPIIIINNNNGGGG((((1111)))) PPPPMMMMDDDDAAAAEEEESSSSPPPPPPPPIIIINNNNGGGG((((1111))))
-
-
-
- ----tttt Amount of time (in seconds) to wait before timing out awaiting a
- response for a command from _c_o_n_f_i_g_f_i_l_e. The default is 20 seconds.
-
- The required _c_o_n_f_i_g_f_i_l_e specifies ``tag'' and ``command'' pairs, each on
- a separate line. All of the commands are run one after another, with the
- whole group rescheduled to be run once per _i_n_t_e_r_v_a_l. For each command
- that is run, ppppmmmmddddaaaaeeeessssppppppppiiiinnnngggg records information related to the success (or
- timeout), exit status, elapsed time and CPU time (system and user), and
- this information is exported by the PMDA. The tags are used to identify
- the individual commands amongst the values exported by the PMDA, and form
- the external instance domain identifiers for the ppppmmmmddddaaaaeeeessssppppppppiiiinnnngggg metrics
- which relate to each command.
-
- IIIINNNNSSSSTTTTAAAALLLLLLLLAAAATTTTIIIIOOOONNNN
- In order for a host to export the names, help text and values for the
- espping performance metrics, do the following as root:
-
- # cd /var/pcp/pmdas/espping
- # cp sample.map sgm.map
- # vi sgm.map
- # ./Configure
-
- The map file which is passed in to the Configure script associates host
- names with services to be monitored on each hostname. The list of
- services is contained in the file /_v_a_r/_p_c_p/_p_m_d_a_s/_e_s_p_p_i_n_g/_t_e_m_p_l_a_t_e._c_o_n_f,
- and this file can be extended with customized service probe mechanisms.
-
- The set of ``tag'' and ``command'' pairs may be generated via the
- Configure script (as above), or specified from a default (sample)
- configuration file, a customized file or entered interactively as part of
- the Install script (use of the Install script is automated using
- Configure).
-
- If you want to undo the installation, do the following as root:
-
- # cd /usr/pcp/pmdas/espping
- # ./Remove
-
- ppppmmmmddddaaaaeeeessssppppppppiiiinnnngggg is launched by ppppmmmmccccdddd(1) and should never be executed directly.
- The Install and Remove scripts notify ppppmmmmccccdddd(1) when the agent is installed
- or removed.
-
- FFFFIIIILLLLEEEESSSS
- ////eeeettttcccc////ppppmmmmccccdddd....ccccoooonnnnffff
- command line options used to launch ppppmmmmddddaaaaeeeessssppppppppiiiinnnngggg
- ////vvvvaaaarrrr////ppppccccpppp////ppppmmmmddddaaaassss////eeeessssppppppppiiiinnnngggg////hhhheeeellllpppp
- default help text file for the espping metrics
- ////vvvvaaaarrrr////ppppccccpppp////ppppmmmmddddaaaassss////eeeessssppppppppiiiinnnngggg////tttteeeemmmmppppllllaaaatttteeee....ccccoooonnnnffff
- template configuration file with a number of common service
- probe mechanisms
-
-
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-
-
-
- PPPPMMMMDDDDAAAAEEEESSSSPPPPPPPPIIIINNNNGGGG((((1111)))) PPPPMMMMDDDDAAAAEEEESSSSPPPPPPPPIIIINNNNGGGG((((1111))))
-
-
-
- ////vvvvaaaarrrr////ppppccccpppp////ppppmmmmddddaaaassss////eeeessssppppppppiiiinnnngggg////ssssaaaammmmpppplllleeee....mmmmaaaapppp
- example mapping file for configuring which services to monitor,
- and at which hosts
- ////vvvvaaaarrrr////ppppccccpppp////ppppmmmmddddaaaassss////eeeessssppppppppiiiinnnngggg////ssssaaaammmmpppplllleeee....ccccoooonnnnffff
- example configuration file with a number of common commands
- ////vvvvaaaarrrr////ppppccccpppp////ppppmmmmddddaaaassss////eeeessssppppppppiiiinnnngggg////CCCCoooonnnnffffiiiigggguuuurrrreeee
- installation script for ppppmmmmddddaaaaeeeessssppppppppiiiinnnngggg
- ////vvvvaaaarrrr////ppppccccpppp////ppppmmmmddddaaaassss////eeeessssppppppppiiiinnnngggg////IIIInnnnssssttttaaaallllllll
- direct installation script (bypass Configure) for ppppmmmmddddaaaaeeeessssppppppppiiiinnnngggg
- ////uuuussssrrrr////ppppccccpppp////ppppmmmmddddaaaassss////eeeessssppppppppiiiinnnngggg////RRRReeeemmmmoooovvvveeee
- undo installation script for ppppmmmmddddaaaaeeeessssppppppppiiiinnnngggg
- $$$${{{{PPPPCCCCPPPP____LLLLOOOOGGGGDDDDIIIIRRRR----////vvvvaaaarrrr////aaaaddddmmmm////ppppccccpppplllloooogggg}}}}////eeeessssppppppppiiiinnnngggg....lllloooogggg
- default log file for error messages and other information from
- ppppmmmmddddaaaaeeeessssppppppppiiiinnnngggg
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- ppppmmmmccccdddd(1)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 3333
-
-
-
-